﻿#pragma once

#include "SourceCode/Renderer/UniformBuffer.h"

namespace Hazal
{
	class COpenGLUniformBuffer : public CUniformBuffer
	{
	public:
		COpenGLUniformBuffer(uint32_t unSize, uint32_t unBinding);

		~COpenGLUniformBuffer();

	public:
		void Bind() const override;

		void Unbind() const override;

		void SetData(const void* pData, uint32_t unSize, uint32_t unOffset = 0) override;

	private:
		uint32_t m_unRendererID = 0;
	};
}